package com.genesis.yunnanji.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * 创建日期：2018/10/12 001210:13
 * 作者：Kite
 * 描述：
 */
public class GoodsInfoBean {

    /**
     * infos : {"id":"80","category_id":"20","shop_id":"10","product_code":"00100001","product_name":"冬瓜猪干巴","cover_img":"/Picture/2018-07-21/5b5212ee76e7f.jpg","product_addr":"云南西双版纳","market_price":"0.00","sale_price":"88.00","jifen_price":"0","keywords":"生态饲养,肥而不腻,降油减脂","status":"1","stocknums":"0","salenums":"0","viewnums":"0","keepnums":"0","commentnums":"0","iscollect":"off","cart_nums":"0"}
     * stock : [{"id":"142","stock_code":"00100001113060","product_id":"80","color_id":"113","size_id":"60","market_price":"0.00","sale_price":"88.00","jifen_price":"0","nums":"100","salenums":"0","color_name":"原味","size_name":"200g"},{"id":"143","stock_code":"00100001114060","product_id":"80","color_id":"114","size_id":"60","market_price":"0.00","sale_price":"88.00","jifen_price":"0","nums":"100","salenums":"0","color_name":"麻辣","size_name":"200g"}]
     * picture : [{"product_id":"80","color_id":"114","cover_img":"/Picture/2018-07-21/5b5212ee76e7f.jpg"},{"product_id":"80","color_id":"113","cover_img":"/Picture/2018-07-21/5b52136696188.jpg"}]
     * promotion : []
     */

    private InfosBean infos;
    private List<StockBean> stock;
    private List<PictureBean> picture;

    public InfosBean getInfos() {
        return infos;
    }

    public void setInfos(InfosBean infos) {
        this.infos = infos;
    }

    public List<StockBean> getStock() {
        return stock;
    }

    public void setStock(List<StockBean> stock) {
        this.stock = stock;
    }

    public List<PictureBean> getPicture() {
        return picture;
    }

    public void setPicture(List<PictureBean> picture) {
        this.picture = picture;
    }

    public GoodsInfoBean() {
    }

    public static class InfosBean {
        /**
         * id : 80
         * category_id : 20
         * shop_id : 10
         * product_code : 00100001
         * product_name : 冬瓜猪干巴
         * cover_img : /Picture/2018-07-21/5b5212ee76e7f.jpg
         * product_addr : 云南西双版纳
         * market_price : 0.00
         * sale_price : 88.00
         * jifen_price : 0
         * keywords : 生态饲养,肥而不腻,降油减脂
         * status : 1
         * stocknums : 0
         * salenums : 0
         * viewnums : 0
         * keepnums : 0
         * commentnums : 0
         * iscollect : off
         * cart_nums : 0
         */

        private String id;
        private String category_id;
        private String shop_id;
        private String product_code;
        private String product_name;
        private String cover_img;
        private String product_addr;
        private String market_price;
        private String sale_price;
        private String jifen_price;
        private String keywords;
        private String status;
        private String stocknums;
        private String salenums;
        private String viewnums;
        private String keepnums;
        private String commentnums;
        private String iscollect;
        private String cart_nums;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCategory_id() {
            return category_id;
        }

        public void setCategory_id(String category_id) {
            this.category_id = category_id;
        }

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getProduct_code() {
            return product_code;
        }

        public void setProduct_code(String product_code) {
            this.product_code = product_code;
        }

        public String getProduct_name() {
            return product_name;
        }

        public void setProduct_name(String product_name) {
            this.product_name = product_name;
        }

        public String getCover_img() {
            return cover_img;
        }

        public void setCover_img(String cover_img) {
            this.cover_img = cover_img;
        }

        public String getProduct_addr() {
            return product_addr;
        }

        public void setProduct_addr(String product_addr) {
            this.product_addr = product_addr;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public String getSale_price() {
            return sale_price;
        }

        public void setSale_price(String sale_price) {
            this.sale_price = sale_price;
        }

        public String getJifen_price() {
            return jifen_price;
        }

        public void setJifen_price(String jifen_price) {
            this.jifen_price = jifen_price;
        }

        public String getKeywords() {
            return keywords;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getStocknums() {
            return stocknums;
        }

        public void setStocknums(String stocknums) {
            this.stocknums = stocknums;
        }

        public String getSalenums() {
            return salenums;
        }

        public void setSalenums(String salenums) {
            this.salenums = salenums;
        }

        public String getViewnums() {
            return viewnums;
        }

        public void setViewnums(String viewnums) {
            this.viewnums = viewnums;
        }

        public String getKeepnums() {
            return keepnums;
        }

        public void setKeepnums(String keepnums) {
            this.keepnums = keepnums;
        }

        public String getCommentnums() {
            return commentnums;
        }

        public void setCommentnums(String commentnums) {
            this.commentnums = commentnums;
        }

        public String getIscollect() {
            return iscollect;
        }

        public void setIscollect(String iscollect) {
            this.iscollect = iscollect;
        }

        public String getCart_nums() {
            return cart_nums;
        }

        public void setCart_nums(String cart_nums) {
            this.cart_nums = cart_nums;
        }
    }

    public static class StockBean {
        /**
         * id : 142
         * stock_code : 00100001113060
         * product_id : 80
         * color_id : 113
         * size_id : 60
         * market_price : 0.00
         * sale_price : 88.00
         * jifen_price : 0
         * nums : 100
         * salenums : 0
         * color_name : 原味
         * size_name : 200g
         */

        private String id;
        private String stock_code;
        private String product_id;
        private String color_id;
        private String size_id;
        private String market_price;
        private String sale_price;
        private String jifen_price;
        private String nums;
        private String salenums;
        private String color_name;
        private String size_name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStock_code() {
            return stock_code;
        }

        public void setStock_code(String stock_code) {
            this.stock_code = stock_code;
        }

        public String getProduct_id() {
            return product_id;
        }

        public void setProduct_id(String product_id) {
            this.product_id = product_id;
        }

        public String getColor_id() {
            return color_id;
        }

        public void setColor_id(String color_id) {
            this.color_id = color_id;
        }

        public String getSize_id() {
            return size_id;
        }

        public void setSize_id(String size_id) {
            this.size_id = size_id;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public String getSale_price() {
            return sale_price;
        }

        public void setSale_price(String sale_price) {
            this.sale_price = sale_price;
        }

        public String getJifen_price() {
            return jifen_price;
        }

        public void setJifen_price(String jifen_price) {
            this.jifen_price = jifen_price;
        }

        public String getNums() {
            return nums;
        }

        public void setNums(String nums) {
            this.nums = nums;
        }

        public String getSalenums() {
            return salenums;
        }

        public void setSalenums(String salenums) {
            this.salenums = salenums;
        }

        public String getColor_name() {
            return color_name;
        }

        public void setColor_name(String color_name) {
            this.color_name = color_name;
        }

        public String getSize_name() {
            return size_name;
        }

        public void setSize_name(String size_name) {
            this.size_name = size_name;
        }

    }

    public static class PictureBean {
        /**
         * product_id : 80
         * color_id : 114
         * cover_img : /Picture/2018-07-21/5b5212ee76e7f.jpg
         */

        private String product_id;
        private String color_id;
        private String cover_img;

        public String getProduct_id() {
            return product_id;
        }

        public void setProduct_id(String product_id) {
            this.product_id = product_id;
        }

        public String getColor_id() {
            return color_id;
        }

        public void setColor_id(String color_id) {
            this.color_id = color_id;
        }

        public String getCover_img() {
            return cover_img;
        }

        public void setCover_img(String cover_img) {
            this.cover_img = cover_img;
        }
    }

}
